package com.tedu.ds.coupon.mapper;

import com.tedu.ds.coupon.pojo.dto.CouponQuery;
import com.tedu.ds.coupon.pojo.entity.Coupon;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CouponMapper {
    void deleteById(Integer id);

    void save(Coupon coupon);

    void update(Coupon coupon);

    List<Coupon> select(CouponQuery couponQuery);
}
